<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="{:U('Friendlink/addLink?type=dialog')}" target="dialog"><span>{$Think.lang.UI_ADD}</span></a></li>
			<li><a class="delete" href="{:U('Friendlink/deleteLink?act=exec')}?id={sid_user}" target="ajaxTodo" title="{$Think.lang.Q_SURE_DELETE}"><span>{$Think.lang.UI_DELETE}</span></a></li>
			<li><a class="edit" href="{:U('Friendlink/editLink?type=dialog')}?id={sid_user}" target="dialog"><span>{$Think.lang.UI_EDIT}</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th width="20">ID</th>
				<th width="120">Logo</th>
				<th width="100">{$Think.lang.LINK_NAME}</th>
				<th width="150">{$Think.lang.LINK_URL}</th>
				<th width="20">{$Think.lang.SHOW_PRIORITY}</th>
				<th width="80" align="center">{$Think.lang.SHOW_STYLE}</th>
			</tr>
		</thead>
		<tbody>
			<volist name="linklist" id="l">
				<tr target="sid_user" rel="{$l.id}">
					<td>{$l.id}</td>
					<td><img src="{$l.link_image|imageUrl}" style="height:50px;margin:5px;"/></td>
					<td>{$l.link_name}</td>
					<td>{$l.link_url}</td>
					<td>{$l.link_priority|priorityValue}</td>
					<td>{$l.link_style|linkStyleValues}</td>
				</tr>
			</volist>
		</tbody>
	</table>
</div>
